<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('AlibabaTradeGetLogisticsTraceInfoBuyerViewParam/ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOTraceNode.class.php');
include_once ('AlibabaTradeGetLogisticsTraceInfoBuyerViewParam/ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOErrorTraceInfo.class.php');

class ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTO extends SDKDomain {

       	
    private $buyerUserId;
    
        /**
    * @return 买家id
    */
        public function getBuyerUserId() {
        return $this->buyerUserId;
    }
    
    /**
     * 设置买家id     
     * @param String $buyerUserId     
     * 参数示例：<pre>123</pre>     
     * 此参数必填     */
    public function setBuyerUserId( $buyerUserId) {
        $this->buyerUserId = $buyerUserId;
    }
    
        	
    private $carrierPartnerCode;
    
        /**
    * @return 物流公司CODE
    */
        public function getCarrierPartnerCode() {
        return $this->carrierPartnerCode;
    }
    
    /**
     * 设置物流公司CODE     
     * @param String $carrierPartnerCode     
     * 参数示例：<pre>1</pre>     
     * 此参数必填     */
    public function setCarrierPartnerCode( $carrierPartnerCode) {
        $this->carrierPartnerCode = $carrierPartnerCode;
    }
    
        	
    private $outTraceNodeCode;
    
        /**
    * @return 外部运踪Code
    */
        public function getOutTraceNodeCode() {
        return $this->outTraceNodeCode;
    }
    
    /**
     * 设置外部运踪Code     
     * @param String $outTraceNodeCode     
     * 参数示例：<pre>23</pre>     
     * 此参数必填     */
    public function setOutTraceNodeCode( $outTraceNodeCode) {
        $this->outTraceNodeCode = $outTraceNodeCode;
    }
    
        	
    private $opCode;
    
        /**
    * @return 操作code，异常节点的opCode
    */
        public function getOpCode() {
        return $this->opCode;
    }
    
    /**
     * 设置操作code，异常节点的opCode     
     * @param String $opCode     
     * 参数示例：<pre>123</pre>     
     * 此参数必填     */
    public function setOpCode( $opCode) {
        $this->opCode = $opCode;
    }
    
        	
    private $nodeActionTime;
    
        /**
    * @return nodeActionTime
    */
        public function getNodeActionTime() {
        return $this->nodeActionTime;
    }
    
    /**
     * 设置nodeActionTime     
     * @param String $nodeActionTime     
     * 参数示例：<pre>12</pre>     
     * 此参数必填     */
    public function setNodeActionTime( $nodeActionTime) {
        $this->nodeActionTime = $nodeActionTime;
    }
    
        	
    private $nodeDetail;
    
        /**
    * @return nodeDetail
    */
        public function getNodeDetail() {
        return $this->nodeDetail;
    }
    
    /**
     * 设置nodeDetail     
     * @param String $nodeDetail     
     * 参数示例：<pre>23</pre>     
     * 此参数必填     */
    public function setNodeDetail( $nodeDetail) {
        $this->nodeDetail = $nodeDetail;
    }
    
        	
    private $stageType;
    
        /**
    * @return stageType
    */
        public function getStageType() {
        return $this->stageType;
    }
    
    /**
     * 设置stageType     
     * @param String $stageType     
     * 参数示例：<pre>1</pre>     
     * 此参数必填     */
    public function setStageType( $stageType) {
        $this->stageType = $stageType;
    }
    
        	
    private $traceNode;
    
        /**
    * @return 运踪节点
    */
        public function getTraceNode() {
        return $this->traceNode;
    }
    
    /**
     * 设置运踪节点     
     * @param ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOTraceNode $traceNode     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setTraceNode(ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOTraceNode $traceNode) {
        $this->traceNode = $traceNode;
    }
    
        	
    private $traceException;
    
        /**
    * @return 异常节点
    */
        public function getTraceException() {
        return $this->traceException;
    }
    
    /**
     * 设置异常节点     
     * @param ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOErrorTraceInfo $traceException     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setTraceException(ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOErrorTraceInfo $traceException) {
        $this->traceException = $traceException;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "buyerUserId", $this->stdResult )) {
    				$this->buyerUserId = $this->stdResult->{"buyerUserId"};
    			}
    			    		    				    			    			if (array_key_exists ( "carrierPartnerCode", $this->stdResult )) {
    				$this->carrierPartnerCode = $this->stdResult->{"carrierPartnerCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "outTraceNodeCode", $this->stdResult )) {
    				$this->outTraceNodeCode = $this->stdResult->{"outTraceNodeCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "opCode", $this->stdResult )) {
    				$this->opCode = $this->stdResult->{"opCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "nodeActionTime", $this->stdResult )) {
    				$this->nodeActionTime = $this->stdResult->{"nodeActionTime"};
    			}
    			    		    				    			    			if (array_key_exists ( "nodeDetail", $this->stdResult )) {
    				$this->nodeDetail = $this->stdResult->{"nodeDetail"};
    			}
    			    		    				    			    			if (array_key_exists ( "stageType", $this->stdResult )) {
    				$this->stageType = $this->stdResult->{"stageType"};
    			}
    			    		    				    			    			if (array_key_exists ( "traceNode", $this->stdResult )) {
    				$traceNodeResult=$this->stdResult->{"traceNode"};
    				$this->traceNode = new ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOTraceNode();
    				$this->traceNode->setStdResult ( $traceNodeResult);
    			}
    			    		    				    			    			if (array_key_exists ( "traceException", $this->stdResult )) {
    				$traceExceptionResult=$this->stdResult->{"traceException"};
    				$this->traceException = new ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOErrorTraceInfo();
    				$this->traceException->setStdResult ( $traceExceptionResult);
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "buyerUserId", $this->arrayResult )) {
    			$this->buyerUserId = $arrayResult['buyerUserId'];
    			}
    		    	    			    		    			if (array_key_exists ( "carrierPartnerCode", $this->arrayResult )) {
    			$this->carrierPartnerCode = $arrayResult['carrierPartnerCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "outTraceNodeCode", $this->arrayResult )) {
    			$this->outTraceNodeCode = $arrayResult['outTraceNodeCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "opCode", $this->arrayResult )) {
    			$this->opCode = $arrayResult['opCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "nodeActionTime", $this->arrayResult )) {
    			$this->nodeActionTime = $arrayResult['nodeActionTime'];
    			}
    		    	    			    		    			if (array_key_exists ( "nodeDetail", $this->arrayResult )) {
    			$this->nodeDetail = $arrayResult['nodeDetail'];
    			}
    		    	    			    		    			if (array_key_exists ( "stageType", $this->arrayResult )) {
    			$this->stageType = $arrayResult['stageType'];
    			}
    		    	    			    		    		if (array_key_exists ( "traceNode", $this->arrayResult )) {
    		$traceNodeResult=$arrayResult['traceNode'];
    			    			$this->traceNode = new ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOTraceNode();
    			    			$this->traceNode->setStdResult ( $traceNodeResult);
    		}
    		    	    			    		    		if (array_key_exists ( "traceException", $this->arrayResult )) {
    		$traceExceptionResult=$arrayResult['traceException'];
    			    			$this->traceException = new ComAlibabaOceanOpenplatformBizCrossModelCrossPackageTraceDTOErrorTraceInfo();
    			    			$this->traceException->setStdResult ( $traceExceptionResult);
    		}
    		    	    		}
 
   
}
?>